<?
#///////////////////////////////////////////////////////
#// COPYRIGHT 2006 Phpauction.org ALL RIGHTS RESERVED//
#///////////////////////////////////////////////////////
?>

<div class="content">
    <div class="tableContent2">
        <div class="titTable2">
            <? print $TPL_title_value ?>
        </div>
        <div class="table2">
            <form action="buy_now.php?action=buy&id=<? print $_REQUEST['id'] ?>" method="POST">
                <table border=0 width="100%" cellspacing="0" cellpadding="4">
                    <tr>
                        <td align=right width="40%"><b><? print $MSG_017 ?> :</b> </td>
                        <td width="60%"><? print $TPL_title ?> </td>
                    </tr>
                    <!--   #Vendedor#    -->
                    <tr>
                        <td align=right width="50%"><b><? print $MSG_125 ?> :</b> </td>
                        <td><? print $TPL_vendetor_value ?> <? print $TPL_num_feedbacks ?> <? print $TPL_rate_radio ?>
                            <!-- Get current number of feedbacks  -->
                        </td>
                    </tr>
                    <!--    ** Buy now price  -->
                    <tr>
                        <td align=right width="40%"><b><? print $MSG_497 ?> :</b> </td>
                        <td><? print $TPL_buy_now_price ?> </td>
                    </tr>
					<?
						if(!empty($TPL_errmsg)){
					?>
                    <tr>
                        <td colspan=2 align="center" class=errfont> <? echo $TPL_errmsg; ?> 
                    </tr>
					<?}?>
                    <tr>
                        <td colspan=2 align="center">&nbsp;</td>
                    </tr>
                    <?
                    if ($buy_done !=1) {
                    	if(!$_SESSION["PHPAUCTION_LOGGED_IN"]) {
					?>
                    <tr>
                        <td width="40%" align=right><? print $MSG_047; ?> </td>
                        <td>
                            <input type=text name="nick" size=15 maxlength=15 value="<? print $nickH; ?>" />
                        </td>
                    </tr>
                    <?
                    	} else {
					?>
                    <tr>
                        <td align=right><? print $MSG_047; ?> </td>
                        <td><b><? print $_SESSION["PHPAUCTION_LOGGED_IN_USERNAME"] ?></b>
                            <input type=hidden name="nick" value="<? print $_SESSION["PHPAUCTION_LOGGED_IN_USERNAME"]; ?>" />
                    </tr>
                    <?
                    	}
					?>
                    <tr>
                        <td align="right"><? print $MSG_048; ?> </td>
                        <td>
                            <input type=password name="password" size=15 maxlength=15 value="" />
                        </td>
                    </tr>
                </table>
                <div style="text-align:center">
                    <input type=submit name="" value="<?=$MSG_496?>" class=button />
                    <input type=reset name="" value="<?=$MSG_068?>" class=button />
                </div>
                <? 
                    } else {
				?>
                <tr>
          <td colspan="2" align="center"> <? echo $MSG_498; ?> </td>
                </tr>
                </table>
                <?
                    }
				?>
            </form>
        </div>
    </div>
</div>
